package com.yawn.zdweb.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author Created by yawn on 2018-01-26 14:51
 */
public class User implements Serializable {

    private String id;
    private String userId;
    private String name;
    private String firstName;
    private String password;
    private List<Group> groupList;
    private String groupsStr;

    public String getId() {
        return userId;
    }

    public void setId(String id) {
        this.id = id;
        this.userId = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
        this.name = firstName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Group> getGroupList() {
        return groupList;
    }

    public void setGroupList(List<Group> groupList) {
        this.groupList = groupList;
    }

    public void setGroupsStr(String groupsStr) {
        this.groupsStr = groupsStr;
    }

    public String getGroupsStr() {
        return groupsStr;
    }
}
